html, body {
    background-color: grey;
    font-family: 'Share Tech Mono', sans-serif;
    background-image:url('random_grey_variations.png');
    background-repeat:repeat-xy;
}

#game-container {
    position: relative;
    display: block;
    width: 640px;
    height: 480px;
    background-color: black;
    
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    
    border: 1px solid white;
    
    overflow: hidden;
}

#game-console {
    position: relative;
    display: block;
    width: 640px;
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    background-color: #3399FF;
    overflow-y: auto;
    border: 1px solid white;
}

#splash {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: pink;
    z-index: 12;
    text-align: center;
}

#splash > img {
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
}

#splashWrapper {
    position: relative;
    display: block;
    z-index: 14;
    text-align: center;
    top: 90px;
}

#game-console > p {
    margin-left: 8px;
    margin-bottom: 2px;
    margin-top: 2px;
     font-family: 'Share Tech Mono',;
}

#char {
    position: absolute;
    width: 64px;
    height: 64px;
    bottom: 0px;
    left: 16px;
    z-index: 6;
    overflow: hidden;
}

#char-sprite {
    position: absolute;
    bottom: 0px;
    left: 0px;
}

#cityscape {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
}

#cityscape-img-1 {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 2;
}
#cityscape-img-2 {
    position: absolute;
    left: 640px;
    top: 0px;
    z-index: 2;
}

#day {
    left: 4px;
    top: 4px;
    position: absolute;
    display: block;
}
#daycounter {
    display: inline-block;
    margin: 2px;
}

#buildings {
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.building {
    display: block;
    position: absolute;
    bottom: 0px;
    z-index: 4;
}
.building > img {
    position: absolute;
    bottom: 0px;
}   

#inventory {
    position: absolute;
    display: none;
    left: 120px;
    top: 64px;
    width: 400px;
    border-radius: 3px;
    border: 1px solid black;
    background-color: pink;
    z-index: 8;
}
#inventory-ok {
    display: block;
    position: relative;
    bottom: 4px;
    left: 96px;
    width: 64px;
}
#inventory-words {
    margin: 8px;
}

#opportunities {
    position: absolute;
    display: none;
    left: 170px;
    top: 64px;
    width: 340px;
    height: 200px;
    border-radius: 3px;
    border: 1px solid black;
    background-color: pink;
    z-index: 8;
}
#opportunity-building {
    padding: 4px;
}
#opportunity-choices > button {
    position: relative;
    display: block;
    width: 240px;
    margin-left: 50px;
}

#leftStat {
    position: absolute;
    right: 4px;
    margin: 3px;
}

#leftStat div {
    margin-right: 2px;
    padding: 1px;
}

#leftStat div span{
    padding-left: 5px;
}